// vim: foldmethod=marker : foldmarker=<<<,>>>
/*
 File: cond.h
 Product: <product>
 Creating date: 21/03/2007 14:58
 Remark: 
*/
#ifndef branch_condH
#define branch_condH

#define branch_COND__always 1
#define branch_COND__never 0
#define branch_COND__if(cond) cond 
#define branch_COND__ifNot(cond) !(cond) 
#define branch_COND__unless(cond) !(cond) 
#define branch_COND__ifNull(cond) (cond)==NULL 
#define branch_COND__null(cond) (cond)==NULL 
#define branch_COND__ifNotNull(cond) (cond)!=NULL 
#define branch_COND__valid(cond) (cond)!=NULL 
#define branch_COND__ifFailed(hr) FAILED(hr)
#define branch_COND__hrFailed(hr) FAILED(hr)
#define branch_COND__ifCause getCause__faultWay()!=NULL

#endif

